<extend name="Index/index" />
<block name="mycss">
    <link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css">
    <link rel="stylesheet" href="__PUBLIC__/my.css">
    <script src="__PUBLIC__/js/jquery-1.8.3.min.js"></script>
</block>

<block name="main">
        <div class="container">
        <div class="row">
        <div class="col-md-6 col-md-offset-1">
            <ul class="nav nav-tabs">
                    <li role="presentation" ><a href="<{:U('Question/index')}>">为你推荐</a></li>
                    <li role="presentation" class="active"><a href="<{:U('Question/hot')}>">全站热门</a></li>
<!--                     <li role="presentation"><a href="<{:U('Question/invited')}>">邀请回答</a></li> -->
            </ul>

            <div>
            <for start="0" end="count($list)">
                <div class="went1">
                    <div>
                    <div  class="fl">
                    </div>
                    <div class="fr chacha">×</div>
                    </div>
                    <div class="mt10 hjhj cb"><b><a href="<{:U('Question/detail','qid='.$list[$i]['id'])}>"><{$list[$i]['name']}></b></a>
                    </div>
                    <div class="mt10"><{$list[$i]['answer_num']}>个回答<b>·</b><{$list[$i]['attend_num']}>人关注</div>
                    <div class="mt10"></div>
                </div>
                </for>
            </div>
        </div>

        <div class="col-md-2">
            <div class="h6 rightshow">
                    <a href="<{:U('Index/index')}>"  style="color:#888"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;知乎首页</a>

                    <a href="<{:U('Collections/index')}>"  style="color:#888"><span class="glyphicon glyphicon-bookmark"></span>&nbsp;&nbsp;我的收藏</a>

                    <a href="<{:U('Question/following')}>"  style="color:#888"><span class="glyphicon glyphicon-check"></span>&nbsp;&nbsp;我关注的问题</a>

                    <a href="<{:U('Topics/index')}>" style="color:#888"><span class="glyphicon glyphicon-th-large"></span>&nbsp;&nbsp;话题广场</a>


                </div>

                <h5 class="mt30"> <b><img src="__PUBLIC__/images/2016-07-21_141413.jpg">&nbsp;&nbsp;知乎专栏</b> </h5>
                <div class="h6 rightshow">
                    <a href="<{:U('Explore/index')}>"  style="color:#888">发现</a>
                    <a href="<{:U('Article/index')}>"  style="color:#888">文章</a>
                </div>
                <div >© 2016 知乎</div>
            </div>
        </div>
        </div>
</body>
<script>
    $(function(){
        $('#try tr td').mouseover(function(){
            $(this).children().css("color","#225599");
            $(this).children().css("color","#225599");
        })
        $('#try tr td').mouseout(function(){
            $(this).children().css('color','#666');
            $(this).children().css("color","#666");
        })
        $('.chacha').mouseover(function(){
            $(this).css('cursor','pointer');
        })
        $('.chacha').click(function(){
            $(this).parent().parent().slideUp("1000");
        })
    })



</script>
</block>